﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Data;
using System.Drawing;
using System.Linq;
using System.Text;
using System.Windows.Forms;
using System.Collections;
using System.Text.RegularExpressions;
using System.IO;


namespace DL
{
    public partial class Form1 : Form
    {

        Interpret interpretor;

        public Form1()
        {
            InitializeComponent();
            interpretor = new Interpret();
        }

        private void Form1_Load(object sender, EventArgs e)
        {

        }

        protected override void OnPaint(PaintEventArgs e)
        {
            interpretor.graphics = e.Graphics;

            interpretor.ParseInputFile(new StreamReader("C:\\Users\\Andrei\\Desktop\\DL.txt"));
            interpretor.ParseBezier();

            base.OnPaint(e);
        }
    }
}
